<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>#{msg.titoloGestioneNegozio}</title>
        <link href="../Style/oneColFixCtrHdr.css" type="text/css" rel="stylesheet"/>
    </h:head>
    <h:body>

        <div class="container">

            <ui:include src="../Header.xhtml"/>

            <div class="content"> 

                #{redirect.redirectAddettoNegozio(gestioneNegozio, "/E-Market-war/Login.jsf")}

                <h:panelGrid columns="2" styleClass="foo" >


                    <h:form id="menuNegozio">

                        <p:menu>  

                            <p:submenu label="Home Negozio">  

                                <p:menuitem value="Home" action="ReturnAddetto" icon="ui-icon-home"/>  
                            </p:submenu> 

                            <p:submenu label="Gestione Prodotti">  

                                <p:menuitem value="#{msg.addRiassortimento}" action="AccessoRiassortimento"/> 
                                <p:menuitem value="#{msg.cronologiaLink}" action="AccessoRiepilogoProdotti"/>  
                                <p:menuitem value="#{msg.addProdottoNegozio}" action="AccessoGestioneFornitura" />  
                                <p:menuitem value="#{msg.spezioneOrdineGestione}" action="AccessoSpedizioneOrdine"/>  
                            </p:submenu>  
                        </p:menu>
                        <ui:insert name="spese"/>
                    </h:form>

                    <ui:insert name="pannello"/>

                </h:panelGrid>
            </div><!-- End content /div -->
            <ui:include src="../Footer.xhtml"/>
        </div><!-- End container /div -->
    </h:body>
</html>

